from recruit.models import City
from rest_framework.generics import ListAPIView
from recruit.serializers.city import CityHotlistSerializer


class CityHotlistView(ListAPIView):
    """热门城市"""
    serializer_class = CityHotlistSerializer
    # queryset = City.objects.all()
    queryset = City.objects.filter(ishot=1)
